package com.kashow.bean;

import java.util.List;

/**
 * Created by yybs on 16/11/3.
 */

public abstract class Data<T> extends BaseBean{

    /**
     * total : 2
     * limit : 20
     * page : 1
     * pages : 1
     * result : []
     */

    private int total;
    private int limit;
    private int page;
    private int pages;
    private List<T> result;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }
}
